package edu.guet.server.model;

import edu.guet.server.model.dto.AddSemester;
import lombok.Data;

@Data
public class Semester {
    Integer semester_id;//学期课程id
    Integer course_id;//课程id
    Integer tech_id;//管理老师id
    String start_time;//开课时间
    String end_time;//结课时间
    String semester_name;//学期课程名
//    String semester_intro;//学期课程介绍
    Integer stu_cnt;//学生人数
    String semester_code;//复制课码
    Integer semester_status;//课程状态

    public void copyAddSemester(AddSemester addSemester) {
        this.semester_id = addSemester.getSemester_id();
        this.start_time = addSemester.getStart_time();
        this.end_time = addSemester.getEnd_time();
//        this.semester_intro = addSemester.getSemester_intro();
        this.semester_name=addSemester.getSemester_name();
    }
}
